// Copyright (c) 2007 Robin Boerdijk. All rights reserved.
//
// This software is licensed under the terms of the Microsoft Reciprocal License as described 
// in the file LICENSE.txt, which you should have received as part of this distribution. The 
// license terms are also available at http://www.opensource.org/licenses/ms-rl.html.

#ifndef wtk_VerticalBox_h_included
#define wtk_VerticalBox_h_included

#include "wtk/ContainerBox.h"

namespace wtk
{
	class HorizontalBox;

	class VerticalBox : public ContainerBox
	{
	public:

		VerticalBox(Count initialCapacity);

		HorizontalBox *AddHorizontalBox(Count initialCapacity = 2);

	protected:

		virtual SIZE CalculateMinimumContentSize();

		virtual long CalculateHorizontalElasticity();

		virtual long CalculateVerticalElasticity();

		virtual void LayoutContent(const POINT &position, const SIZE &size);
	};
}

#endif